package com.cn.daoIntface;

import com.cn.entity.CommodityTypeEntity;

import java.sql.SQLException;
import java.util.List;

public interface CommodityTypeIntface {
    List<CommodityTypeEntity> queryAll() throws ClassNotFoundException, SQLException, InstantiationException, IllegalAccessException;

    int add(CommodityTypeEntity commodityTypeEntity) throws SQLException, ClassNotFoundException;

    int update(CommodityTypeEntity commodityTypeEntity);

    List<CommodityTypeEntity> queryAll(String father_id);
}
